function initApi(callback){
        var scriptUrl = "http://maps.google.com/maps/api/js?
            sensor=true&callback=" + callback;
        var script = document.createElement("script");
        script.type = "text/javascript";
        script.src = scriptUrl;
        $('head').append(script);
}
